Remove GdkGLContext::visual
authorAlexander Larsson <alexl@redhat.com>
Thu, 30 Oct 2014 11:15:51 +0000 (12:15 +0100)
committerAlexander Larsson <alexl@redhat.com>
Thu, 30 Oct 2014 11:43:03 +0000 (12:43 +0100)
commitf0ae8da99378adcd89587b5ce702de0a179753f2
treeb806e86ada63be5f5079d45e8ecc2c1b61a7baf7
parentad30262fef6b1977b08b4f84749183c6fbbe7fa8
Remove GdkGLContext::visual

This is not really needed. The gl context is totally tied to the
window it is created from by virtue of sharing the context with the
paint context of that window and that context always has the visual
of the window (which we already can get).

Also, all user visible contexts are essentially offscreen contexts, so
a visual doesn't make sense for them. They only use FBOs which have
whatever format that the users sets up.
docs/reference/gdk/gdk3-sections.txt
gdk/gdkglcontext.c
gdk/gdkglcontext.h
gdk/wayland/gdkglcontext-wayland.c
gdk/x11/gdkglcontext-x11.c